package com.fqgj.sentry.manage.dao.impl;
import com.fqgj.common.base.AbstractBaseMapper;
import com.fqgj.sentry.manage.dao.McAlarmManDao;
import com.fqgj.sentry.manage.entity.McAlarmManEntity;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;

/**
* User: ykpbean
* Date: 2017-07-12
* Time: 14:21:02.840
*/

@Repository
public class McAlarmManDaoImpl extends AbstractBaseMapper<McAlarmManEntity> implements McAlarmManDao {

    @Override
    public McAlarmManEntity selectByNameAndMerchant(HashMap<String, Object> param) {
        return this.getSqlSession().selectOne(this.getStatement(".selectByNameAndMerchant"),param);
    }

    @Override
    public List<McAlarmManEntity> selectAlarmManList(HashMap<String, Object> param) {
        return this.getSqlSession().selectList(this.getStatement(".selectAlarmManList"),param);
    }
}